// Copyright 2023 Leo <lipf160627@163.com>. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.

package errCode

import "errors"

var (
	ErrUser              = errors.New("user error")
	ErrUserExist         = errors.New("user already exist")
	ErrUserNotExist      = errors.New("user not exist")
	ErrUserPassword      = errors.New("user password error")
	ErrUserParameter     = errors.New("user parameter error")
	ErrUsernameLengh     = errors.New("user name length invalid")
	ErrUserPasswordLengh = errors.New("user password length invalid")
	ErrUserDelete        = errors.New("user delete error")
	ErrUserUpdate        = errors.New("user update error")
	ErrUserLoginRepeated = errors.New("user login repeated")
	ErrUserLoginMax      = errors.New("user login reaches max limit")
)
